i = 0
while i < resp.length()
  $scope.hosList[i].no = i
  i++
